import React from 'react'
import { Route, Link,Switch } from "react-router-dom"
import Information from './Information'
import Management from './Management'
import Detailed from './Detailed'
import BorrowingCapacity from './BorrowingCapacity'
import Blacklist from './Blacklist'
import CustomerLabel from './CustomerLabel'
import VipList from './VipList'
import './index.scss'

export default function Customer() {
    return (
        <div>
            <div className='CustomerContent'>
                {/* <div className='layout-menu'>
                    <Link to='/home/customer/Information'>客户信息</Link>
                    <br />
                    <Link to='/home/customer'>已准入客户管理</Link>
                    <br />
                    <Link to='/home/customer/Detailed'>详细信息</Link>
                    <br />
                    <Link to='/home/customer/BorrowingCapacity'>借款能力筛选</Link>
                    <br />
                    <Link to='/home/customer/VipList'>会员排行</Link>
                    <br />
                    <Link to='/home/customer/CustomerLabel'>客户标签</Link>
                    <br />
                    <Link to='/home/customer/Blacklist'>黑名单客户</Link>
                </div> */}
                
                <Switch>
                    <Route path='/home/customer' exact component={Management}>
                    </Route>
                    <Route path='/home/customer/Information' component={Information}>
                    </Route>
                    <Route path='/home/customer/Detailed' component={Detailed}>
                    </Route>
                    <Route path='/home/customer/Blacklist' component={Blacklist}>
                    </Route>
                    <Route path='/home/customer/CustomerLabel' component={CustomerLabel}>
                    </Route>
                    <Route path='/home/customer/VipList' component={VipList}>
                    </Route>
                    <Route path='/home/customer/BorrowingCapacity' component={BorrowingCapacity}>
                    </Route>
                </Switch>
            </div>
        </div>
    )
}